package com.yjd.bi.user.service;

import com.yjd.bi.user.model.LoginRetentionRateModel;
import com.yjd.comm.base.service.IBaseService;

/**
 * <b>description</b>：用户留存率业务接口<br>
 * <b>time</b>：2016-04-21 10:39:32 <br>
 * <b>author</b>： renbangjie renbangjie@126.com
 */
public interface ILoginRetentionRateService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public LoginRetentionRateModel insert(LoginRetentionRateModel model)
			throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(LoginRetentionRateModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public int delete(long id) throws Exception;
	

}
